@var head = {
	<title>资源管理</title>
@};
@var content = {
	<nav class="breadcrumb">
		<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 权限管理 <span class="c-gray en">&gt;</span> 资源管理
		<a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
	</nav>
	<div class="pd-20">
		<div class="text-c">
			<form action="${request.contextPath}/res/search.html" method="post">
				<input type="text" class="input-text" style="width:250px" placeholder="输入资源名称" id="" name="resourceName" value="${resourceName!''}">
				<input type="text" class="input-text" style="width:250px" placeholder="输入备注" id="" name="remark" value="${remark!''}">
				<button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 搜资源</button>
			</form>
		</div>
		<div class="cl pd-5 bg-1 bk-gray mt-20"> 
			<span class="l">
				<a href="javascript:;" onclick="dels('${request.contextPath}/res/batchdelete.html')" class="btn btn-danger radius"><i class="Hui-iconfont">&#xe6e2;</i> 批量删除</a>
				<a href="javascript:;" onclick="layer_show('添加资源','${request.contextPath}/res/create.html','800','500')" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i> 添加资源</a>
			</span> 
			<span class="r">
				共有数据：<strong>${total}</strong> 条
			</span> 
		</div>
		<table class="table table-border table-bordered table-bg">
			<thead>
				<tr>
					<th scope="col" colspan="9">资源列表</th>
				</tr>
				<tr class="text-c">
					<th width="25"><input type="checkbox" name="" value=""></th>
					<th width="100">编码</th>
					<th width="70">名称</th>
					<th width="150">备注</th>
					<th width="50">类别</th>
					<th width="100">是否已启用</th>
					<th width="100">操作</th>
				</tr>
			</thead>
			<tbody id="dataContent">
				
			</tbody>
		</table>
		<div id="pager" style="padding-top:5px;float:right"></div>
	</div>
	<footer class="footer">
   		<p>本后台系统由<a href="http://www.h-ui.net/" target="_blank" title="H-ui前端框架">H-ui前端框架</a>提供前端技术支持</p>
	</footer>
@};
@var js = { 
	<script>
		$(document).ready(function () {
			pager('${request.contextPath}/res/list.html', {resourceName:"${resourceName!''}",remark:"${remark!''}"}, ${total}, 8);
		});
	</script>
@};
@include("/layout/layout.html",{head:head,content:content,js:js}){}